package cn.jaye.fabric.domain.model;

import com.baomidou.mybatisplus.annotations.TableName;
import lombok.*;

/**
 * @author Jaye
 * @create 2018-05-02 19:52
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "peer")
public class MPeer {
    private String orgId;
    private String orderId;
    private String peerId;
    private String peerName;
    private String hostAddress;
    private String port;
    private String eventPort;
    private Boolean tlsFlag;

//    public MPeer() {
//    }
//
//    public MPeer(String orgId, String orderId, String peerId, String peerName, String hostAddress, String port, String eventPort, Boolean tlsFlag) {
//        this.orgId = orgId;
//        this.orderId = orderId;
//        this.peerId = peerId;
//        this.peerName = peerName;
//        this.hostAddress = hostAddress;
//        this.port = port;
//        this.eventPort = eventPort;
//        this.tlsFlag = tlsFlag;
//    }
}
